// Package usermodule
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package usermodule

import (
	"hotgo/internal/model/input/apiin"
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询用户模块列表
type ListReq struct {
	g.Meta `path:"/userModule/list" method:"get" tags:"用户模块" summary:"获取用户模块列表"`
	sysin.UserModuleListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.UserModuleListModel `json:"list"   dc:"数据列表"`
}

// StatusReq 更新用户模块状态
type StatusReq struct {
	g.Meta `path:"/userModule/status" method:"post" tags:"用户模块" summary:"更新用户模块状态"`
	sysin.UserModuleStatusInp
}

type StatusRes struct{}

// MiniProgramQrCodeReq 获取小程序码
type MiniProgramQrCodeReq struct {
	g.Meta `path:"/miniProgram/qrCode" method:"post" tags:"用户" summary:"获取小程序码"`
	apiin.MiniProgramQrCodeInp
}

type MiniProgramQrCodeRes struct {
	*apiin.MiniProgramQrCodeModel
}
